package com.github.pig.admin.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("training_student_label")
public class TrainingStudentLabel extends Model<TrainingStudentLabel> {
    private Integer studentid;

    private Integer labelid;

    @Override
    protected Serializable pkVal() {
        return this.studentid;
    }

    @Override
    public String toString() {
        return "TrainingStudentLabel{" +
                "studentid=" + studentid +
                ", labelid=" + labelid +
                '}';
    }
}